//-----------------------------------------------------------------------
// <copyright file="a_AddresseBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_AddresseBase
	{
		
		#region Variable Declarations
		private int				addrID = 0;
		private int				userID = 0;
		private string				ship3rdPartyName = string.Empty;
		private string				address = string.Empty;
		private string				unit = string.Empty;
		private string				city = string.Empty;
		private string				state = string.Empty;
		private string				zipcode = string.Empty;
		private string				country = string.Empty;
		private byte				type = 0;
		private string				tel_AreaCode = string.Empty;
		private string				tel_Num = string.Empty;
		private bool				isDeleted = false;
		private int				domainID = 0;
		#endregion
		
		#region Constructors
		public a_AddresseBase() {}
		
		public a_AddresseBase (
			int addrID,
			int userID,
			string ship3rdPartyName,
			string address,
			string unit,
			string city,
			string state,
			string zipcode,
			string country,
			byte type,
			string tel_AreaCode,
			string tel_Num,
			bool isDeleted,
			int domainID)
		
		{
			this.addrID = addrID;
			this.userID = userID;
			this.ship3rdPartyName = ship3rdPartyName;
			this.address = address;
			this.unit = unit;
			this.city = city;
			this.state = state;
			this.zipcode = zipcode;
			this.country = country;
			this.type = type;
			this.tel_AreaCode = tel_AreaCode;
			this.tel_Num = tel_Num;
			this.isDeleted = isDeleted;
			this.domainID = domainID;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int AddrID
		{
			get { return addrID; }
			set { addrID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int UserID
		{
			get { return userID; }
			set { userID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Ship3rdPartyName
		{
			get { return ship3rdPartyName; }
			set { ship3rdPartyName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Address
		{
			get { return address; }
			set { address = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Unit
		{
			get { return unit; }
			set { unit = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string City
		{
			get { return city; }
			set { city = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string State
		{
			get { return state; }
			set { state = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Zipcode
		{
			get { return zipcode; }
			set { zipcode = value; }
		}
	
		/// <summary>
		/// 	Use 2 character ISO Codes
		/// </summary>
		/// <value>This type is varchar</value>
		public string Country
		{
			get { return country; }
			set { country = value; }
		}
	
		/// <summary>
		/// 	0=ship,1=bill,2=both ship and bill
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte Type
		{
			get { return type; }
			set { type = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Tel_AreaCode
		{
			get { return tel_AreaCode; }
			set { tel_AreaCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Tel_Num
		{
			get { return tel_Num; }
			set { tel_Num = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsDeleted
		{
			get { return isDeleted; }
			set { isDeleted = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int DomainID
		{
			get { return domainID; }
			set { domainID = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_AddresseColumns
	{
		AddrID,
		UserID,
		Ship3rdPartyName,
		Address,
		Unit,
		City,
		State,
		Zipcode,
		Country,
		Type,
		Tel_AreaCode,
		Tel_Num,
		IsDeleted,
		DomainID
	}//End enum
}